# This Python file uses the following encoding: utf-8
#############################################################################
##
## Copyright (C) 2020 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of Qt for Python.
##
## $QT_BEGIN_LICENSE:LGPL$
## Commercial License Usage
## Licensees holding valid commercial Qt licenses may use this file in
## accordance with the commercial license agreement provided with the
## Software or, alternatively, in accordance with the terms contained in
## a written agreement between you and The Qt Company. For licensing terms
## and conditions see https://www.qt.io/terms-conditions. For further
## information use the contact form at https://www.qt.io/contact-us.
##
## GNU Lesser General Public License Usage
## Alternatively, this file may be used under the terms of the GNU Lesser
## General Public License version 3 as published by the Free Software
## Foundation and appearing in the file LICENSE.LGPL3 included in the
## packaging of this file. Please review the following information to
## ensure the GNU Lesser General Public License version 3 requirements
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
##
## GNU General Public License Usage
## Alternatively, this file may be used under the terms of the GNU
## General Public License version 2.0 or (at your option) the GNU General
## Public license version 3 or any later version approved by the KDE Free
## Qt Foundation. The licenses are as published by the Free Software
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
## included in the packaging of this file. Please review the following
## information to ensure the GNU General Public License requirements will
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
## https://www.gnu.org/licenses/gpl-3.0.html.
##
## $QT_END_LICENSE$
##
#############################################################################

"""
This file contains the exact signatures for all functions in module
Qt.QtSensors, except for defaults which are replaced by "...".
"""

# Module Qt.QtSensors
import Qt
try:
    import typing
except ImportError:
    from Qt.support.signature import typing
from Qt.support.signature.mapping import (
    Virtual, Missing, Invalid, Default, Instance)

class Object(object): pass

import shiboken2 as Shiboken
Shiboken.Object = Object

import Qt.QtCore
import Qt.QtSensors


class QAccelerometer(Qt.QtSensors.QSensor):
    Combined                 : QAccelerometer = ... # 0x0
    Gravity                  : QAccelerometer = ... # 0x1
    User                     : QAccelerometer = ... # 0x2

    class AccelerationMode(object):
        Combined                 : QAccelerometer.AccelerationMode = ... # 0x0
        Gravity                  : QAccelerometer.AccelerationMode = ... # 0x1
        User                     : QAccelerometer.AccelerationMode = ... # 0x2

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def accelerationMode(self) -> Qt.QtSensors.QAccelerometer.AccelerationMode: ...
    def reading(self) -> Qt.QtSensors.QAccelerometerReading: ...
    def setAccelerationMode(self, accelerationMode:Qt.QtSensors.QAccelerometer.AccelerationMode): ...


class QAccelerometerFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QAccelerometerReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...


class QAccelerometerReading(Qt.QtSensors.QSensorReading):

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def setX(self, x:float): ...
    def setY(self, y:float): ...
    def setZ(self, z:float): ...
    def x(self) -> float: ...
    def y(self) -> float: ...
    def z(self) -> float: ...


class QAltimeter(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def reading(self) -> Qt.QtSensors.QAltimeterReading: ...


class QAltimeterFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QAltimeterReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...


class QAltimeterReading(Qt.QtSensors.QSensorReading):

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def altitude(self) -> float: ...
    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def setAltitude(self, altitude:float): ...


class QAmbientLightFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QAmbientLightReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...


class QAmbientLightReading(Qt.QtSensors.QSensorReading):
    Undefined                : QAmbientLightReading = ... # 0x0
    Dark                     : QAmbientLightReading = ... # 0x1
    Twilight                 : QAmbientLightReading = ... # 0x2
    Light                    : QAmbientLightReading = ... # 0x3
    Bright                   : QAmbientLightReading = ... # 0x4
    Sunny                    : QAmbientLightReading = ... # 0x5

    class LightLevel(object):
        Undefined                : QAmbientLightReading.LightLevel = ... # 0x0
        Dark                     : QAmbientLightReading.LightLevel = ... # 0x1
        Twilight                 : QAmbientLightReading.LightLevel = ... # 0x2
        Light                    : QAmbientLightReading.LightLevel = ... # 0x3
        Bright                   : QAmbientLightReading.LightLevel = ... # 0x4
        Sunny                    : QAmbientLightReading.LightLevel = ... # 0x5

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def lightLevel(self) -> Qt.QtSensors.QAmbientLightReading.LightLevel: ...
    def setLightLevel(self, lightLevel:Qt.QtSensors.QAmbientLightReading.LightLevel): ...


class QAmbientLightSensor(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def reading(self) -> Qt.QtSensors.QAmbientLightReading: ...


class QAmbientTemperatureFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QAmbientTemperatureReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...


class QAmbientTemperatureReading(Qt.QtSensors.QSensorReading):

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def setTemperature(self, temperature:float): ...
    def temperature(self) -> float: ...


class QAmbientTemperatureSensor(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def reading(self) -> Qt.QtSensors.QAmbientTemperatureReading: ...


class QCompass(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def reading(self) -> Qt.QtSensors.QCompassReading: ...


class QCompassFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QCompassReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...


class QCompassReading(Qt.QtSensors.QSensorReading):

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def azimuth(self) -> float: ...
    def calibrationLevel(self) -> float: ...
    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def setAzimuth(self, azimuth:float): ...
    def setCalibrationLevel(self, calibrationLevel:float): ...


class QDistanceFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QDistanceReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...


class QDistanceReading(Qt.QtSensors.QSensorReading):

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def distance(self) -> float: ...
    def setDistance(self, distance:float): ...


class QDistanceSensor(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def reading(self) -> Qt.QtSensors.QDistanceReading: ...


class QGyroscope(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def reading(self) -> Qt.QtSensors.QGyroscopeReading: ...


class QGyroscopeFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QGyroscopeReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...


class QGyroscopeReading(Qt.QtSensors.QSensorReading):

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def setX(self, x:float): ...
    def setY(self, y:float): ...
    def setZ(self, z:float): ...
    def x(self) -> float: ...
    def y(self) -> float: ...
    def z(self) -> float: ...


class QHolsterFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QHolsterReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...


class QHolsterReading(Qt.QtSensors.QSensorReading):

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def holstered(self) -> bool: ...
    def setHolstered(self, holstered:bool): ...


class QHolsterSensor(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def reading(self) -> Qt.QtSensors.QHolsterReading: ...


class QHumidityFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QHumidityReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...


class QHumidityReading(Qt.QtSensors.QSensorReading):

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def absoluteHumidity(self) -> float: ...
    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def relativeHumidity(self) -> float: ...
    def setAbsoluteHumidity(self, value:float): ...
    def setRelativeHumidity(self, percent:float): ...


class QHumiditySensor(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def reading(self) -> Qt.QtSensors.QHumidityReading: ...


class QIRProximityFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QIRProximityReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...


class QIRProximityReading(Qt.QtSensors.QSensorReading):

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def reflectance(self) -> float: ...
    def setReflectance(self, reflectance:float): ...


class QIRProximitySensor(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def reading(self) -> Qt.QtSensors.QIRProximityReading: ...


class QLidFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QLidReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...


class QLidReading(Qt.QtSensors.QSensorReading):

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def backLidClosed(self) -> bool: ...
    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def frontLidClosed(self) -> bool: ...
    def setBackLidClosed(self, closed:bool): ...
    def setFrontLidClosed(self, closed:bool): ...


class QLidSensor(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def reading(self) -> Qt.QtSensors.QLidReading: ...


class QLightFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QLightReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...


class QLightReading(Qt.QtSensors.QSensorReading):

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def lux(self) -> float: ...
    def setLux(self, lux:float): ...


class QLightSensor(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def fieldOfView(self) -> float: ...
    def reading(self) -> Qt.QtSensors.QLightReading: ...
    def setFieldOfView(self, fieldOfView:float): ...


class QMagnetometer(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def reading(self) -> Qt.QtSensors.QMagnetometerReading: ...
    def returnGeoValues(self) -> bool: ...
    def setReturnGeoValues(self, returnGeoValues:bool): ...


class QMagnetometerFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QMagnetometerReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...


class QMagnetometerReading(Qt.QtSensors.QSensorReading):

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def calibrationLevel(self) -> float: ...
    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def setCalibrationLevel(self, calibrationLevel:float): ...
    def setX(self, x:float): ...
    def setY(self, y:float): ...
    def setZ(self, z:float): ...
    def x(self) -> float: ...
    def y(self) -> float: ...
    def z(self) -> float: ...


class QOrientationFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QOrientationReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...


class QOrientationReading(Qt.QtSensors.QSensorReading):
    Undefined                : QOrientationReading = ... # 0x0
    TopUp                    : QOrientationReading = ... # 0x1
    TopDown                  : QOrientationReading = ... # 0x2
    LeftUp                   : QOrientationReading = ... # 0x3
    RightUp                  : QOrientationReading = ... # 0x4
    FaceUp                   : QOrientationReading = ... # 0x5
    FaceDown                 : QOrientationReading = ... # 0x6

    class Orientation(object):
        Undefined                : QOrientationReading.Orientation = ... # 0x0
        TopUp                    : QOrientationReading.Orientation = ... # 0x1
        TopDown                  : QOrientationReading.Orientation = ... # 0x2
        LeftUp                   : QOrientationReading.Orientation = ... # 0x3
        RightUp                  : QOrientationReading.Orientation = ... # 0x4
        FaceUp                   : QOrientationReading.Orientation = ... # 0x5
        FaceDown                 : QOrientationReading.Orientation = ... # 0x6

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def orientation(self) -> Qt.QtSensors.QOrientationReading.Orientation: ...
    def setOrientation(self, orientation:Qt.QtSensors.QOrientationReading.Orientation): ...


class QOrientationSensor(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def reading(self) -> Qt.QtSensors.QOrientationReading: ...


class QPressureFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QPressureReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...


class QPressureReading(Qt.QtSensors.QSensorReading):

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def pressure(self) -> float: ...
    def setPressure(self, pressure:float): ...
    def setTemperature(self, temperature:float): ...
    def temperature(self) -> float: ...


class QPressureSensor(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def reading(self) -> Qt.QtSensors.QPressureReading: ...


class QProximityFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QProximityReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...


class QProximityReading(Qt.QtSensors.QSensorReading):

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def close(self) -> bool: ...
    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def setClose(self, close:bool): ...


class QProximitySensor(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def reading(self) -> Qt.QtSensors.QProximityReading: ...


class QRotationFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QRotationReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...


class QRotationReading(Qt.QtSensors.QSensorReading):

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def setFromEuler(self, x:float, y:float, z:float): ...
    def x(self) -> float: ...
    def y(self) -> float: ...
    def z(self) -> float: ...


class QRotationSensor(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def hasZ(self) -> bool: ...
    def reading(self) -> Qt.QtSensors.QRotationReading: ...
    def setHasZ(self, hasZ:bool): ...


class QSensor(Qt.QtCore.QObject):
    Buffering                : QSensor = ... # 0x0
    FixedOrientation         : QSensor = ... # 0x0
    AlwaysOn                 : QSensor = ... # 0x1
    AutomaticOrientation     : QSensor = ... # 0x1
    GeoValues                : QSensor = ... # 0x2
    UserOrientation          : QSensor = ... # 0x2
    FieldOfView              : QSensor = ... # 0x3
    AccelerationMode         : QSensor = ... # 0x4
    SkipDuplicates           : QSensor = ... # 0x5
    AxesOrientation          : QSensor = ... # 0x6
    PressureSensorTemperature: QSensor = ... # 0x7
    Reserved                 : QSensor = ... # 0x101

    class AxesOrientationMode(object):
        FixedOrientation         : QSensor.AxesOrientationMode = ... # 0x0
        AutomaticOrientation     : QSensor.AxesOrientationMode = ... # 0x1
        UserOrientation          : QSensor.AxesOrientationMode = ... # 0x2

    class Feature(object):
        Buffering                : QSensor.Feature = ... # 0x0
        AlwaysOn                 : QSensor.Feature = ... # 0x1
        GeoValues                : QSensor.Feature = ... # 0x2
        FieldOfView              : QSensor.Feature = ... # 0x3
        AccelerationMode         : QSensor.Feature = ... # 0x4
        SkipDuplicates           : QSensor.Feature = ... # 0x5
        AxesOrientation          : QSensor.Feature = ... # 0x6
        PressureSensorTemperature: QSensor.Feature = ... # 0x7
        Reserved                 : QSensor.Feature = ... # 0x101

    def __init__(self, type:Qt.QtCore.QByteArray, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def addFilter(self, filter:Qt.QtSensors.QSensorFilter): ...
    def availableDataRates(self) -> typing.List: ...
    def axesOrientationMode(self) -> Qt.QtSensors.QSensor.AxesOrientationMode: ...
    def backend(self) -> Qt.QtSensors.QSensorBackend: ...
    def bufferSize(self) -> int: ...
    def connectToBackend(self) -> bool: ...
    def currentOrientation(self) -> int: ...
    def dataRate(self) -> int: ...
    @staticmethod
    def defaultSensorForType(type:Qt.QtCore.QByteArray) -> Qt.QtCore.QByteArray: ...
    def description(self) -> str: ...
    def efficientBufferSize(self) -> int: ...
    def error(self) -> int: ...
    def filters(self) -> typing.List: ...
    def identifier(self) -> Qt.QtCore.QByteArray: ...
    def isActive(self) -> bool: ...
    def isAlwaysOn(self) -> bool: ...
    def isBusy(self) -> bool: ...
    def isConnectedToBackend(self) -> bool: ...
    def isFeatureSupported(self, feature:Qt.QtSensors.QSensor.Feature) -> bool: ...
    def maxBufferSize(self) -> int: ...
    def outputRange(self) -> int: ...
    def outputRanges(self) -> typing.List: ...
    def reading(self) -> Qt.QtSensors.QSensorReading: ...
    def removeFilter(self, filter:Qt.QtSensors.QSensorFilter): ...
    @staticmethod
    def sensorTypes() -> typing.List: ...
    @staticmethod
    def sensorsForType(type:Qt.QtCore.QByteArray) -> typing.List: ...
    def setActive(self, active:bool): ...
    def setAlwaysOn(self, alwaysOn:bool): ...
    def setAxesOrientationMode(self, axesOrientationMode:Qt.QtSensors.QSensor.AxesOrientationMode): ...
    def setBufferSize(self, bufferSize:int): ...
    def setCurrentOrientation(self, currentOrientation:int): ...
    def setDataRate(self, rate:int): ...
    def setEfficientBufferSize(self, efficientBufferSize:int): ...
    def setIdentifier(self, identifier:Qt.QtCore.QByteArray): ...
    def setMaxBufferSize(self, maxBufferSize:int): ...
    def setOutputRange(self, index:int): ...
    def setSkipDuplicates(self, skipDuplicates:bool): ...
    def setUserOrientation(self, userOrientation:int): ...
    def skipDuplicates(self) -> bool: ...
    def start(self) -> bool: ...
    def stop(self): ...
    def type(self) -> Qt.QtCore.QByteArray: ...
    def userOrientation(self) -> int: ...


class QSensorBackend(Qt.QtCore.QObject):

    def __init__(self, sensor:Qt.QtSensors.QSensor, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def addDataRate(self, min:float, max:float): ...
    def addOutputRange(self, min:float, max:float, accuracy:float): ...
    def isFeatureSupported(self, feature:Qt.QtSensors.QSensor.Feature) -> bool: ...
    def newReadingAvailable(self): ...
    def reading(self) -> Qt.QtSensors.QSensorReading: ...
    def sensor(self) -> Qt.QtSensors.QSensor: ...
    def sensorBusy(self): ...
    def sensorError(self, error:int): ...
    def sensorStopped(self): ...
    def setDataRates(self, otherSensor:Qt.QtSensors.QSensor): ...
    def setDescription(self, description:str): ...
    def start(self): ...
    def stop(self): ...


class QSensorBackendFactory(Shiboken.Object):

    def __init__(self): ...

    def createBackend(self, sensor:Qt.QtSensors.QSensor) -> Qt.QtSensors.QSensorBackend: ...


class QSensorChangesInterface(Shiboken.Object):

    def __init__(self): ...

    def sensorsChanged(self): ...


class QSensorFilter(Shiboken.Object):

    def __init__(self): ...

    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...
    def setSensor(self, sensor:Qt.QtSensors.QSensor): ...


class QSensorGestureManager(Qt.QtCore.QObject):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def gestureIds(self) -> typing.List: ...
    def recognizerSignals(self, recognizerId:str) -> typing.List: ...
    def registerSensorGestureRecognizer(self, recognizer:Qt.QtSensors.QSensorGestureRecognizer) -> bool: ...
    @staticmethod
    def sensorGestureRecognizer(id:str) -> Qt.QtSensors.QSensorGestureRecognizer: ...


class QSensorGesturePluginInterface(Shiboken.Object):

    def __init__(self): ...

    def createRecognizers(self) -> typing.List: ...
    def name(self) -> str: ...
    def supportedIds(self) -> typing.List: ...


class QSensorGestureRecognizer(Qt.QtCore.QObject):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def create(self): ...
    def createBackend(self): ...
    def gestureSignals(self) -> typing.List: ...
    def id(self) -> str: ...
    def isActive(self) -> bool: ...
    def start(self) -> bool: ...
    def startBackend(self): ...
    def stop(self) -> bool: ...
    def stopBackend(self): ...


class QSensorManager(Shiboken.Object):

    def __init__(self): ...

    @staticmethod
    def createBackend(sensor:Qt.QtSensors.QSensor) -> Qt.QtSensors.QSensorBackend: ...
    @staticmethod
    def isBackendRegistered(type:Qt.QtCore.QByteArray, identifier:Qt.QtCore.QByteArray) -> bool: ...
    @staticmethod
    def registerBackend(type:Qt.QtCore.QByteArray, identifier:Qt.QtCore.QByteArray, factory:Qt.QtSensors.QSensorBackendFactory): ...
    @staticmethod
    def setDefaultBackend(type:Qt.QtCore.QByteArray, identifier:Qt.QtCore.QByteArray): ...
    @staticmethod
    def unregisterBackend(type:Qt.QtCore.QByteArray, identifier:Qt.QtCore.QByteArray): ...


class QSensorPluginInterface(Shiboken.Object):

    def __init__(self): ...

    def registerSensors(self): ...


class QSensorReading(Qt.QtCore.QObject):
    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def setTimestamp(self, timestamp:int): ...
    def timestamp(self) -> int: ...
    def value(self, index:int) -> typing.Any: ...
    def valueCount(self) -> int: ...


class QTapFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QTapReading) -> bool: ...


class QTapReading(Qt.QtSensors.QSensorReading):
    Undefined                : QTapReading = ... # 0x0
    X                        : QTapReading = ... # 0x1
    Y                        : QTapReading = ... # 0x2
    Z                        : QTapReading = ... # 0x4
    X_Pos                    : QTapReading = ... # 0x11
    Y_Pos                    : QTapReading = ... # 0x22
    Z_Pos                    : QTapReading = ... # 0x44
    X_Neg                    : QTapReading = ... # 0x101
    X_Both                   : QTapReading = ... # 0x111
    Y_Neg                    : QTapReading = ... # 0x202
    Y_Both                   : QTapReading = ... # 0x222
    Z_Neg                    : QTapReading = ... # 0x404
    Z_Both                   : QTapReading = ... # 0x444

    class TapDirection(object):
        Undefined                : QTapReading.TapDirection = ... # 0x0
        X                        : QTapReading.TapDirection = ... # 0x1
        Y                        : QTapReading.TapDirection = ... # 0x2
        Z                        : QTapReading.TapDirection = ... # 0x4
        X_Pos                    : QTapReading.TapDirection = ... # 0x11
        Y_Pos                    : QTapReading.TapDirection = ... # 0x22
        Z_Pos                    : QTapReading.TapDirection = ... # 0x44
        X_Neg                    : QTapReading.TapDirection = ... # 0x101
        X_Both                   : QTapReading.TapDirection = ... # 0x111
        Y_Neg                    : QTapReading.TapDirection = ... # 0x202
        Y_Both                   : QTapReading.TapDirection = ... # 0x222
        Z_Neg                    : QTapReading.TapDirection = ... # 0x404
        Z_Both                   : QTapReading.TapDirection = ... # 0x444

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def isDoubleTap(self) -> bool: ...
    def setDoubleTap(self, doubleTap:bool): ...
    def setTapDirection(self, tapDirection:Qt.QtSensors.QTapReading.TapDirection): ...
    def tapDirection(self) -> Qt.QtSensors.QTapReading.TapDirection: ...


class QTapSensor(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def reading(self) -> Qt.QtSensors.QTapReading: ...
    def returnDoubleTapEvents(self) -> bool: ...
    def setReturnDoubleTapEvents(self, returnDoubleTapEvents:bool): ...


class QTiltFilter(Qt.QtSensors.QSensorFilter):

    def __init__(self): ...

    @typing.overload
    def filter(self, reading:Qt.QtSensors.QSensorReading) -> bool: ...
    @typing.overload
    def filter(self, reading:Qt.QtSensors.QTiltReading) -> bool: ...


class QTiltReading(Qt.QtSensors.QSensorReading):

    def __init__(self, parent:Qt.QtCore.QObject): ...

    def copyValuesFrom(self, other:Qt.QtSensors.QSensorReading): ...
    def setXRotation(self, x:float): ...
    def setYRotation(self, y:float): ...
    def xRotation(self) -> float: ...
    def yRotation(self) -> float: ...


class QTiltSensor(Qt.QtSensors.QSensor):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def calibrate(self): ...
    def reading(self) -> Qt.QtSensors.QTiltReading: ...


class qoutputrange(Shiboken.Object):

    @typing.overload
    def __init__(self): ...
    @typing.overload
    def __init__(self, qoutputrange:Qt.QtSensors.qoutputrange): ...

    def __copy__(self): ...

# eof
